package org.example.entity;

import java.sql.Timestamp;

public class UContent {
    private int id;
    private String title;
    private String type; // movie/book/music
    private String imageUrl;
    private String description;
    private String directorOrAuthor;
    private String releaseOrPublishDate;
    private String genre;
    private String durationOrPages;
    private String castOrPublisher;
    private double rating;
    private int ratingCount;
    private Timestamp createdAt;
    private Timestamp updatedAt;

    // Getters and Setters
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDirectorOrAuthor() {
        return directorOrAuthor;
    }

    public void setDirectorOrAuthor(String directorOrAuthor) {
        this.directorOrAuthor = directorOrAuthor;
    }

    public String getReleaseOrPublishDate() {
        return releaseOrPublishDate;
    }

    public void setReleaseOrPublishDate(String releaseOrPublishDate) {
        this.releaseOrPublishDate = releaseOrPublishDate;
    }

    public String getGenre() {
        return genre;
    }

    public void setGenre(String genre) {
        this.genre = genre;
    }

    public String getDurationOrPages() {
        return durationOrPages;
    }

    public void setDurationOrPages(String durationOrPages) {
        this.durationOrPages = durationOrPages;
    }

    public String getCastOrPublisher() {
        return castOrPublisher;
    }

    public void setCastOrPublisher(String castOrPublisher) {
        this.castOrPublisher = castOrPublisher;
    }

    public double getRating() {
        return rating;
    }

    public void setRating(double rating) {
        this.rating = rating;
    }

    public int getRatingCount() {
        return ratingCount;
    }

    public void setRatingCount(int ratingCount) {
        this.ratingCount = ratingCount;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }

    public Timestamp getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Timestamp updatedAt) {
        this.updatedAt = updatedAt;
    }
}